package com.zhongyouyun.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongyouyun.admin.model.MenuModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author: shenyi
 * @Date: 2021-09-23
 * @Description: 资源表Mapper
 */
@Mapper
public interface MenuMapper extends BaseMapper<MenuModel> {

    List<MenuModel> selectMenusByRoleId(@Param("id") Long id);

    List<MenuModel> findMenuTreeList();
}
